package com.upb.webserver.common.pojo.order;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Set;

/**
 * 跨链请求单。
 */
@Data
public class ReqAddWorkOrderOfCrossChainVO {
    @NotNull
    private Set<ApplicationOfOrg> applicationOrgCollection;
    private String crossChainName;
    private String description;

    @Data
    public static class ApplicationOfOrg {
        @NotNull
        private Integer orgId;
        private Integer companyId;
        private Set<Integer> applicationIdCollection;
    }
}


